﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.InventoryDomain
{
   public class ItemSale
    {
        #region Properties
        public Guid ID { get; set; }
        public int Quantity { get; set; }
        public decimal RatePer { get; set; }
        public decimal DiscountPer { get; set; }
        public decimal DiscountAll { get; set; }
        public string Decription { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        public Guid ItemID { get; set; }
        #endregion

        #region NavigationalProperties
        [ForeignKey("ItemID")]
        public virtual Item Item { get; set; } 
        #endregion
    }
}
